package org.lboot.idmo.app;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lboot.jpa.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "auth_app")
@ApiModel(value = "应用实体",description = "应用授权实体")
public class AuthApp extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "应用标识")
    @Column(name = "app_id")
    String appId;

    @ApiModelProperty(value = "应用名词")
    @Column(name = "app_name")
    String appName;

    @ApiModelProperty(value = "图片封面")
    @Column(name = "app_icon")
    String appIcon;

    @ApiModelProperty(value = "应用分组")
    @Column(name = "app_group")
    String appGroup;
}
